package cn.detu.ln.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@TableName("admin") //表名
@Data
public class Admin {
    // 主键自增策略
    @TableId(value = "admin_id",type = IdType.AUTO)
    // id
    private Integer adminId;
    // 用户名
    private String adminName;
    private String adminSex;
    private String adminPhone;
    // 密码
    private String adminPwd;
    // 是否删除
    @TableLogic // 逻辑删除位
    private Integer isDelete;
}
